PushAllTask
Description
No description for this api.
Request Method
POST
Request Path
/apsara/route/aegis/PushAllTask
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Tasks | BODY | string | No | No sample value for this parameter. | Security check task list, value range: OVAL_ENTITY: indicates that all security check tasks are performed CMS: indicates detection of CMS vulnerabilities SYSVUL: indicates detection of system software vulnerabilities HEALTH_CHECK: indicates that baseline check is performed WEBSHELL: indicates to detect the backdoor of the website PROC_SNAPSHOT: indicates detection process data PORT_SNAPSHOT: indicates detection port data ACCOUNT_SNAPSHOT: indicates detection account data SOFTWARE_SNAPSHOT: indicates detection of application data |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Uuids | BODY | string | No | No sample value for this parameter. | host asset UUID, specifying multiple host asset UUIDs separated. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | no demo value | request ID. |
| Message | string | no demo value | details of task delivery results. |
| InstanceId | string | no demo value | host instance ID. |
| Ip | string | no demo value | host asset IP. |
| OsVersion | string | no demo value | operating system version. |
| PushTaskRsp | struct | no demo value | The result of the task. For specific sub-items, see the following parameter description. |
| Success | string | no demo value | The result of the task. |
| GroupId | string | no demo value | asset group ID. |
| InstanceName | string | no demo value | host instance name. |
| PushTaskResultList | array | no demo value | send the list of failed tasks. for specific sub-items, see the following parameter description. |
| Uuid | string | no demo value | host asset UUID. |
| Region | string | no demo value | the region of the host. |
| Online | string | no demo value | Whether the Server Knight client is online. |
Example
Successful Response example
{
"RequestId":"no demo value",
"Message":"no demo value",
"InstanceId":"no demo value",
"Ip":"no demo value",
"OsVersion":"no demo value",
"PushTaskRsp":"no demo value",
"Success":"no demo value",
"GroupId":"no demo value",
"InstanceName":"no demo value",
"PushTaskResultList":"no demo value",
"Uuid":"no demo value",
"Region":"no demo value",
"Online":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}